#define _CRT_SECURE_NO_WARNINGS

#pragma once
#include "Heap.h"

int main()
{
	
	Heap h;
	HeapInit(&h);

	HeapPush(&h, 0);
	HeapPush(&h, 2);
	HeapPush(&h, 4);
	HeapPush(&h, 6);
	HeapPush(&h, 8);
	HeapPush(&h, 1);
	HeapPush(&h, 3);
	HeapPush(&h, 5);
	HeapPush(&h, 7);
	HeapPush(&h, 9);

	printf("%d\n", HeapTop(&h));
	HeapPrint(&h);

	return 0;
}